package com.szkingdom.kfit.bank.xiaoniuPay.util;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * @author Lijingyu on 2017/5/22.
 */
public class AESEncryptUtilTest {

    @Test
    public void testDecodeAESFile() throws Exception {
        AESEncryptUtil.decodeAESFile("123456".getBytes(),"D:\\SS\\xn_fund_pay_statement_check_20003_20170516_plain.txt","D:\\SS\\xn_fund_pay_statement_check_20003_20170516_secret.txt");
    }

    @Test
    public void testEncodeAESFile() throws Exception {

        AESEncryptUtil.encodeAESFile("123456".getBytes(),"D:\\SS\\xn_fund_pay_statement_check_20003_20170516.txt","D:\\SS\\xn_fund_pay_statement_check_20003_20170516_secret.txt");
    }
}